//
//  CollectionReusableView.m
//  TodatPlay
//
//  Created by dllo on 16/9/19.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "CollectionReusableView.h"
#import "SDAutoLayout.h"
@implementation CollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _titleLabel = [[UILabel alloc] init];
        [self addSubview:_titleLabel];
        _titleLabel.textColor = [UIColor colorWithWhite:0.400 alpha:1.000];
        
        _titleLabel.sd_layout
        .centerYEqualToView(self)
        .leftSpaceToView(self, 20)
        .heightIs(self.frame.size.height)
        .widthIs(self.frame.size.width);
        self.backgroundColor = [UIColor colorWithWhite:0.902 alpha:1.000];
        
    }
    return self;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
